<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"
           %><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"
           %><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"
           %><%@ taglib tagdir="/WEB-INF/tags" prefix="cohesion"
           %><%@ page contentType="text/html;charset=ISO-8859-1"
           %><html:html xhtml="true">
    <head>
        <html:base/>
        <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
        <link rel="stylesheet" type="text/css" href="../css/style2.css"></link>
        <script type="text/Javascript" src="../scripts/popups.js"></script>
        <title>DDP-Online - <bean:message key="V_ListarUsuarios.title"/></title>
    </head>
    <body onload="alertas('${empty msg ? "" : msg}')">
        <div id="wrapper">
            <div id="header"></div>
            <%@ include file="../includes/includeMenuDDP.jsp" %>
            <div id="page">
                <div id="content">
                    <h2><bean:message key="V_ListarUsuarios.title"/></h2>
                    <div id="listaUsuarios">
                        <html:form action="/A_EliminarUsuarios.do" method="post">
                            <table>
                                <thead>
                                    <tr>
                                        <th>Usuario</th>
                                        <th>Tipo</th>
                                        <th>&iquest;Eliminar?</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <logic:iterate id="user" collection="${empty L_Usuario ? _vacio : L_Usuario}">
                                        <tr>
                                            <td>${user.user_login}</td>
                                            <logic:equal name="user" property="tipo" value="2">
                                                <td>Director</td>
                                            </logic:equal>

                                            <logic:equal name="user" property="tipo" value="4">
                                                <td>Encargado PAA</td>
                                            </logic:equal>

                                            <logic:equal name="user" property="tipo" value="8">
                                                <td>Encargado PAI</td>
                                            </logic:equal>

                                            <logic:equal name="user" property="tipo" value="16">
                                                <td>Encargado PAS</td>
                                            </logic:equal>

                                            <logic:equal name="user" property="tipo" value="32">
                                                <td>Encargado PRD</td>
                                            </logic:equal>
                                            <td>
                                                <html:multibox styleId="642411" property="usuarios_a_eliminar">
                                                    ${user.user_login}
                                                </html:multibox>
                                            </td>
                                        </tr>
                                    </logic:iterate>
                                </tbody>
                            </table>
                            <p>
                                <html:submit styleClass="button"><bean:message key="V_ListarUsuarios.label0"/><%-- Eliminar Usuarios --%></html:submit>
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                <cohesion:actor actors="62">
                                    <html:link action="/A_Pre_ManejoGeneral.do">Cancelar</html:link>
                                </cohesion:actor>
                            </p>
                        </html:form>
                    </div>
                </div>
                <%@ include file="../includes/includeSidebarDDP.jsp" %>
            </div>
            <%@ include file="../includes/includeFooter.jsp" %>
        </div>
    </body>
</html:html>